﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using gametest.DxAPI;

namespace gametest.sprites
{
    public class ga:sprite
    {
        private DxImageObject imagega = null;

        public ga() { }
        public ga(DxInitGraphics g)
            : base(g)
        {
            imagega = new DxImageObject("Images\\ga.png", BitmapType.TRANSPARENT, 0xFFFFFF, graphics.DDDevice);
        }

        public override void Draw()
        {
            imagega.DrawBitmap(graphics.RenderSurface);
            //throw new NotImplementedException();
        }

        public override void Restore(DxInitGraphics g)
        {
            graphics = g;
            imagega.RestoreSurface();
            //throw new NotImplementedException();
        }
    }
}
